<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<h2>회원님의 객실등록 목록입니다.</h2> <br><br>
<table border="1" cellspacing="0" width="600">
<c:forEach items="${requestScope.list }" var="map" varStatus="cnt">
	<a href="/home_sharing_system/roomDetail.do?roomNo=${map.rdto.roomNo }" style="text-decoration: none" >
		<tr align="center" height="50">
				<td rowspan="3"><img src="/home_sharing_system/uproomfile/${map.fdto.fileName }" width="100%" height="200px"></td>
				<td width="150">No. ${cnt.count }</td>
				<td width="150">Title. ${map.rdto.title }</td>	
		</tr>
		<tr align="center" height="50">
				<td><font size="2">객실형태 :</font> ${map.rdto.property.propertyTypeContents }</td>
				<td><font size="2">도시 :</font> ${map.rdto.address.sido }</td>
		</tr>
		<tr align="center" height="50">
				<td><font size="2">랜탈범위 :</font> ${map.rdto.privacy.privacyContents }</td>
				<td><font size="2">랜탈가격 :</font> <b>$ ${map.rdto.price1 }</b> / <font size="2"> 1 박당</font></td>
		</tr>
	</a>
	
</c:forEach>
</table><br>
<!-- <a href="roominput.do">방등록 페이지로..</a> -->

</body>
</html>